﻿using System;
using System.Collections.Generic;

namespace Model
{
     ///<summary>
     ///实体类DEV_INFO
     ///</summary>
     public class DEV_INFO
     {
         private int __ID=0 ;
         private int? __JCXH=null ;
         private string __SBMC=string.Empty ;
         private string __SBXH=string.Empty ;
         private string __SBZZC=string.Empty ;
         private string __SBRZBH=string.Empty ;
         private string __CGJXH=string.Empty ;
         private string __CGJSCC=string.Empty ;
         private string __CGJCCBH=string.Empty ;
         private string __CGJRZBH=string.Empty ;
         private string __FQYXH=string.Empty ;
         private string __FQYSCC=string.Empty ;
         private string __FQYCCBH=string.Empty ;
         private string __FQYRZBH=string.Empty ;
         private string __LLJXH=string.Empty ;
         private string __LLJSCC=string.Empty ;
         private string __LLJCCBH=string.Empty ;
         private string __LLJRZBH=string.Empty ;
         private string __YDJ_BTG_XH=string.Empty ;
         private string __YDJ_BTG_SCC=string.Empty ;
         private string __YDJ_BTG_CCBH=string.Empty ;
         private string __YDJ_BTG_RZBH=string.Empty ;
         private string __YDJ_LZ_XH=string.Empty ;
         private string __YDJ_LZ_SCC=string.Empty ;
         private string __YDJ_LZ_CCBH=string.Empty ;
         private string __YDJ_LZ_RZBH=string.Empty ;

         private Dictionary<string, bool> __Changed = new Dictionary<string, bool>();


         public DEV_INFO()
         {
             this.__Changed.Add("ID",false);
             this.__Changed.Add("JCXH",false);
             this.__Changed.Add("SBMC",false);
             this.__Changed.Add("SBXH",false);
             this.__Changed.Add("SBZZC",false);
             this.__Changed.Add("SBRZBH",false);
             this.__Changed.Add("CGJXH",false);
             this.__Changed.Add("CGJSCC",false);
             this.__Changed.Add("CGJCCBH",false);
             this.__Changed.Add("CGJRZBH",false);
             this.__Changed.Add("FQYXH",false);
             this.__Changed.Add("FQYSCC",false);
             this.__Changed.Add("FQYCCBH",false);
             this.__Changed.Add("FQYRZBH",false);
             this.__Changed.Add("LLJXH",false);
             this.__Changed.Add("LLJSCC",false);
             this.__Changed.Add("LLJCCBH",false);
             this.__Changed.Add("LLJRZBH",false);
             this.__Changed.Add("YDJ_BTG_XH",false);
             this.__Changed.Add("YDJ_BTG_SCC",false);
             this.__Changed.Add("YDJ_BTG_CCBH",false);
             this.__Changed.Add("YDJ_BTG_RZBH",false);
             this.__Changed.Add("YDJ_LZ_XH",false);
             this.__Changed.Add("YDJ_LZ_SCC",false);
             this.__Changed.Add("YDJ_LZ_CCBH",false);
             this.__Changed.Add("YDJ_LZ_RZBH",false);
         }

         /// <summary>
         /// 将类重置到初始化状态
         /// </summary>
         public void Reset()
         {
             this.__ID =0;
             this.__JCXH =null;
             this.__SBMC =string.Empty;
             this.__SBXH =string.Empty;
             this.__SBZZC =string.Empty;
             this.__SBRZBH =string.Empty;
             this.__CGJXH =string.Empty;
             this.__CGJSCC =string.Empty;
             this.__CGJCCBH =string.Empty;
             this.__CGJRZBH =string.Empty;
             this.__FQYXH =string.Empty;
             this.__FQYSCC =string.Empty;
             this.__FQYCCBH =string.Empty;
             this.__FQYRZBH =string.Empty;
             this.__LLJXH =string.Empty;
             this.__LLJSCC =string.Empty;
             this.__LLJCCBH =string.Empty;
             this.__LLJRZBH =string.Empty;
             this.__YDJ_BTG_XH =string.Empty;
             this.__YDJ_BTG_SCC =string.Empty;
             this.__YDJ_BTG_CCBH =string.Empty;
             this.__YDJ_BTG_RZBH =string.Empty;
             this.__YDJ_LZ_XH =string.Empty;
             this.__YDJ_LZ_SCC =string.Empty;
             this.__YDJ_LZ_CCBH =string.Empty;
             this.__YDJ_LZ_RZBH =string.Empty;
             this.__Changed["ID"] = false;
             this.__Changed["JCXH"] = false;
             this.__Changed["SBMC"] = false;
             this.__Changed["SBXH"] = false;
             this.__Changed["SBZZC"] = false;
             this.__Changed["SBRZBH"] = false;
             this.__Changed["CGJXH"] = false;
             this.__Changed["CGJSCC"] = false;
             this.__Changed["CGJCCBH"] = false;
             this.__Changed["CGJRZBH"] = false;
             this.__Changed["FQYXH"] = false;
             this.__Changed["FQYSCC"] = false;
             this.__Changed["FQYCCBH"] = false;
             this.__Changed["FQYRZBH"] = false;
             this.__Changed["LLJXH"] = false;
             this.__Changed["LLJSCC"] = false;
             this.__Changed["LLJCCBH"] = false;
             this.__Changed["LLJRZBH"] = false;
             this.__Changed["YDJ_BTG_XH"] = false;
             this.__Changed["YDJ_BTG_SCC"] = false;
             this.__Changed["YDJ_BTG_CCBH"] = false;
             this.__Changed["YDJ_BTG_RZBH"] = false;
             this.__Changed["YDJ_LZ_XH"] = false;
             this.__Changed["YDJ_LZ_SCC"] = false;
             this.__Changed["YDJ_LZ_CCBH"] = false;
             this.__Changed["YDJ_LZ_RZBH"] = false;
         }

         /// <summary>
         /// 获取类中成员的改变状态
         /// </summary>
         public bool Changed(string strKey)
         {
             return __Changed[strKey];
         }

         /// <summary>
         ///设置或获取类中的[ID]的数据
         /// </summary>
         public int ID
         {
              set{ __ID = value; __Changed["ID"] = true;}
              get{return __ID;}
         }
         /// <summary>
         ///设置或获取类中的[JCXH]的数据
         /// </summary>
         public int? JCXH
         {
              set{ __JCXH = value; __Changed["JCXH"] = true;}
              get{return __JCXH;}
         }
         /// <summary>
         ///设置或获取类中的[SBMC]的数据
         /// </summary>
         public string SBMC
         {
              set{ __SBMC = value.Replace("'","’"); __Changed["SBMC"] = true;}
              get{return __SBMC;}
         }
         /// <summary>
         ///设置或获取类中的[SBXH]的数据
         /// </summary>
         public string SBXH
         {
              set{ __SBXH = value.Replace("'","’"); __Changed["SBXH"] = true;}
              get{return __SBXH;}
         }
         /// <summary>
         ///设置或获取类中的[SBZZC]的数据
         /// </summary>
         public string SBZZC
         {
              set{ __SBZZC = value.Replace("'","’"); __Changed["SBZZC"] = true;}
              get{return __SBZZC;}
         }
         /// <summary>
         ///设置或获取类中的[SBRZBH]的数据
         /// </summary>
         public string SBRZBH
         {
              set{ __SBRZBH = value.Replace("'","’"); __Changed["SBRZBH"] = true;}
              get{return __SBRZBH;}
         }
         /// <summary>
         ///设置或获取类中的[CGJXH]的数据
         /// </summary>
         public string CGJXH
         {
              set{ __CGJXH = value.Replace("'","’"); __Changed["CGJXH"] = true;}
              get{return __CGJXH;}
         }
         /// <summary>
         ///设置或获取类中的[CGJSCC]的数据
         /// </summary>
         public string CGJSCC
         {
              set{ __CGJSCC = value.Replace("'","’"); __Changed["CGJSCC"] = true;}
              get{return __CGJSCC;}
         }
         /// <summary>
         ///设置或获取类中的[CGJCCBH]的数据
         /// </summary>
         public string CGJCCBH
         {
              set{ __CGJCCBH = value.Replace("'","’"); __Changed["CGJCCBH"] = true;}
              get{return __CGJCCBH;}
         }
         /// <summary>
         ///设置或获取类中的[CGJRZBH]的数据
         /// </summary>
         public string CGJRZBH
         {
              set{ __CGJRZBH = value.Replace("'","’"); __Changed["CGJRZBH"] = true;}
              get{return __CGJRZBH;}
         }
         /// <summary>
         ///设置或获取类中的[FQYXH]的数据
         /// </summary>
         public string FQYXH
         {
              set{ __FQYXH = value.Replace("'","’"); __Changed["FQYXH"] = true;}
              get{return __FQYXH;}
         }
         /// <summary>
         ///设置或获取类中的[FQYSCC]的数据
         /// </summary>
         public string FQYSCC
         {
              set{ __FQYSCC = value.Replace("'","’"); __Changed["FQYSCC"] = true;}
              get{return __FQYSCC;}
         }
         /// <summary>
         ///设置或获取类中的[FQYCCBH]的数据
         /// </summary>
         public string FQYCCBH
         {
              set{ __FQYCCBH = value.Replace("'","’"); __Changed["FQYCCBH"] = true;}
              get{return __FQYCCBH;}
         }
         /// <summary>
         ///设置或获取类中的[FQYRZBH]的数据
         /// </summary>
         public string FQYRZBH
         {
              set{ __FQYRZBH = value.Replace("'","’"); __Changed["FQYRZBH"] = true;}
              get{return __FQYRZBH;}
         }
         /// <summary>
         ///设置或获取类中的[LLJXH]的数据
         /// </summary>
         public string LLJXH
         {
              set{ __LLJXH = value.Replace("'","’"); __Changed["LLJXH"] = true;}
              get{return __LLJXH;}
         }
         /// <summary>
         ///设置或获取类中的[LLJSCC]的数据
         /// </summary>
         public string LLJSCC
         {
              set{ __LLJSCC = value.Replace("'","’"); __Changed["LLJSCC"] = true;}
              get{return __LLJSCC;}
         }
         /// <summary>
         ///设置或获取类中的[LLJCCBH]的数据
         /// </summary>
         public string LLJCCBH
         {
              set{ __LLJCCBH = value.Replace("'","’"); __Changed["LLJCCBH"] = true;}
              get{return __LLJCCBH;}
         }
         /// <summary>
         ///设置或获取类中的[LLJRZBH]的数据
         /// </summary>
         public string LLJRZBH
         {
              set{ __LLJRZBH = value.Replace("'","’"); __Changed["LLJRZBH"] = true;}
              get{return __LLJRZBH;}
         }
         /// <summary>
         ///设置或获取类中的[YDJ_BTG_XH]的数据
         /// </summary>
         public string YDJ_BTG_XH
         {
              set{ __YDJ_BTG_XH = value.Replace("'","’"); __Changed["YDJ_BTG_XH"] = true;}
              get{return __YDJ_BTG_XH;}
         }
         /// <summary>
         ///设置或获取类中的[YDJ_BTG_SCC]的数据
         /// </summary>
         public string YDJ_BTG_SCC
         {
              set{ __YDJ_BTG_SCC = value.Replace("'","’"); __Changed["YDJ_BTG_SCC"] = true;}
              get{return __YDJ_BTG_SCC;}
         }
         /// <summary>
         ///设置或获取类中的[YDJ_BTG_CCBH]的数据
         /// </summary>
         public string YDJ_BTG_CCBH
         {
              set{ __YDJ_BTG_CCBH = value.Replace("'","’"); __Changed["YDJ_BTG_CCBH"] = true;}
              get{return __YDJ_BTG_CCBH;}
         }
         /// <summary>
         ///设置或获取类中的[YDJ_BTG_RZBH]的数据
         /// </summary>
         public string YDJ_BTG_RZBH
         {
              set{ __YDJ_BTG_RZBH = value.Replace("'","’"); __Changed["YDJ_BTG_RZBH"] = true;}
              get{return __YDJ_BTG_RZBH;}
         }
         /// <summary>
         ///设置或获取类中的[YDJ_LZ_XH]的数据
         /// </summary>
         public string YDJ_LZ_XH
         {
              set{ __YDJ_LZ_XH = value.Replace("'","’"); __Changed["YDJ_LZ_XH"] = true;}
              get{return __YDJ_LZ_XH;}
         }
         /// <summary>
         ///设置或获取类中的[YDJ_LZ_SCC]的数据
         /// </summary>
         public string YDJ_LZ_SCC
         {
              set{ __YDJ_LZ_SCC = value.Replace("'","’"); __Changed["YDJ_LZ_SCC"] = true;}
              get{return __YDJ_LZ_SCC;}
         }
         /// <summary>
         ///设置或获取类中的[YDJ_LZ_CCBH]的数据
         /// </summary>
         public string YDJ_LZ_CCBH
         {
              set{ __YDJ_LZ_CCBH = value.Replace("'","’"); __Changed["YDJ_LZ_CCBH"] = true;}
              get{return __YDJ_LZ_CCBH;}
         }
         /// <summary>
         ///设置或获取类中的[YDJ_LZ_RZBH]的数据
         /// </summary>
         public string YDJ_LZ_RZBH
         {
              set{ __YDJ_LZ_RZBH = value.Replace("'","’"); __Changed["YDJ_LZ_RZBH"] = true;}
              get{return __YDJ_LZ_RZBH;}
         }
    }
}
